package com.school.repair.dao;

import com.school.repair.entity.RepairMan;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RepairManDao {
    int total(@Param("name") String name, @Param("goodat") String goodat);

    List<RepairMan> repairManPage(@Param("pageNo") int pageNo, @Param("pageSize") int pageSize, @Param("name") String name, @Param("goodat") String goodat);

    RepairMan findRepairMan(long id);

    int adminUpdateRepairMan(RepairMan rm);

    int delRepair(@Param("id") long id);
}
